#include "stdafx.h"
#include "PillsForm.h"
#include "MapTools.h"

using namespace pac_man_cll;
using namespace System::Drawing;

PillsForm::PillsForm(void)
{
}


void pac_man_cll::PillsForm::DrawForm(Graphics^ g, int x, int y)
{
	array <int, 1>^ position = MapTools::GetPanelPosition(gcnew array<int, 1>{x, y});
	sbfond = gcnew System::Drawing::SolidBrush(System::Drawing::Color::White);

	g->FillEllipse(sbfond, position[0] + 13, position[1] + 13, 4, 4);
}
